//Mozilla only
function html2DOM(s){
    var range = document.createRange();
    range.selectNode(document.body);
    return range.createContextualFragment(s);
}

